import React, {PureComponent} from 'react';
import PropTypes from 'prop-types';
import {Form, Input} from "antd";

class AddPage extends PureComponent {
  componentDidMount() {
    if (this.props.record) {

    } else {

    }
  }

  render() {
    return (
      <div>
        <Form>
          <Form.Item label={'采集点名称'}>
            <Input placeholder={'请输入采集点名称'} required/>
          </Form.Item>
        </Form>
      </div>
    );
  }
}

AddPage.propTypes = {};

export default AddPage;
